const mongoose = require('mongoose');

mongoose
    .connect('mongodb+srv://2166519217:E83P6shmrfmfYoNx@cluster0.cp3wp.mongodb.net/')
    .then(() => console.log('数据库连接成功'))
    .catch((err) => console.log(err));

    
module.exports = mongoose;
